package cn.gogpay.dcb.api.feign.form;

import com.alibaba.fastjson.JSON;

import javax.validation.constraints.NotBlank;

/**
 * {描述}
 *
 * @author yangxianxi@gogpay.cn
 * @date 2018/10/31 17:49
 */
public class DrivingV2Form {
    /**
     * 姓名
     */
    @NotBlank(message = "name 不能为null")
    private String name;

    /**
     * 身份证
     */
    @NotBlank(message = "cardNo 不能为null")
    private String cardNo;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
